home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
MiscKit1.7.1
/
MiscKitArchive.mbox
/
mbox
/
000222_misckit-reques…aska.et.byu.edu_Tue Jun 14 16:21:09 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-10-30
|
4KB
Return-Path: <misckit-request@alaska.et.byu.edu>
Received: from alaska.et.byu.edu by darth.byu.edu (NX5.67d/NX3.0M)
id AA01306; Tue, 14 Jun 94 16:20:59 -0600
Received: from acs1.byu.edu by alaska.et.byu.edu; Tue, 14 Jun 1994 16:21:42 -0600
Received: from DIRECTORY-DAEMON by yvax.byu.edu (PMDF V4.3-8 #7277)
id <01HDJEGG398W8Y63YO@yvax.byu.edu>; 14 Jun 94 16:21:12 -0600 (MDT)
Received: from alaska.et.byu.edu by yvax.byu.edu (PMDF V4.3-8 #7277)
id <01HDJEGAWTJK8WVZWR@yvax.byu.edu>; Tue, 14 Jun 1994 16:21:04 -0600 (MDT)
Received: from seraph.uunet.ca by alaska.et.byu.edu; Tue,
14 Jun 1994 16:18:46 -0600
Received: from trimark by mail.uunet.ca with UUCP id <91137-5>; Tue,
14 Jun 1994 18:17:54 -0400
Received: from net_6_06 by Trimark.com (NX5.67c/NeXT-2.0-SAH) id AA25663; Tue,
14 Jun 94 18:09:06 -0400
Received: by net_6_06.trimark.com (NX5.67d/NX3.0X) id AA03192; Tue,
14 Jun 94 18:09:05 -0400
Received: by NeXT.Mailer (1.100.RR)
Received: by NeXT Mailer (1.100.RR)
Date: Tue, 14 Jun 1994 18:09:05 -0400
From: shayman@next_server.Trimark.com (Steve Hayman)
Subject: MiscKit idea - Project Builder Builder !
To: misckit@alaska.et.byu.edu
Message-Id: <9406142209-AA25663@Trimark.com>
Content-Transfer-Encoding: 7BIT
This is only peripherally related to MiscKit but I think it might
get a good reception on this particular list.
Lately I find myself writing a lot of similar, small NeXTSTEP programs, and
repeating this same sequence every time with only tiny differences
- use Project Builder to make a new project
- open the interfaces file
- add a Controller object, make it the delegate of File's Owner
- unparse Controller
- go back to PB, add the dbkit and misckit libraries
- do the right thing to the Makefile.preamble, Makefile.postamble
- think about adding an info panel and a preferences panel,
the appropriate nib files, the appropriate Controller methods,
the find panel subprocess, hook up the right menu items, etc, etc
- maybe make a Document.nib, add the Document menu item, hook
up the menu items, etc etc
- add the Help directory
And so on and so on. All this basic boilerplate stuff I can do
this pretty much in my sleep now but it still seems tedious and
I'm always forgetting something.
So. I had this idea. What about a Project Builder Builder? An app
that would create a skeleton project for you, with all of these hooks
already in place. Something with all the nibs set up, some skeleton
Controller and/or Document source code, the Makefiles and PB.project
all ready to be compiled - so all you would have to do is dive in and
start adding actual interesting features to Controller.m, instead of
jumping through all these hoops.
One way you could start would just be to create a prototype project
in its own directory, and then "clone" this directory every time you made
a new application. That would work and wouldn't require anything
too special, but you'd still have to mess with Project Builder to set
the name of the application, etc etc. What I'd really like would be
an app I could launch that would give me a panel
where I could choose
Name of this application:
Do you want DBKit stuff? [y/n]
Oracle or Sybase?
Do you want the MiscKit? (this one is always selected :-)
Do you need the MiscKit find panel bundle?
... or various other bundles, or libraries, or whatever ...
etc etc. And I hit "save", and it creates a directory with all this
stuff ready to go.
Anybody else think this would be really useful? For one thing,
it would be a great tool to use when teaching people NeXTSTEP
programming. Don't let them get all hung up in the mechanics of
creating a brand new project, or understanding what the heck
"unparse" means, right off the bat.
I may pursue this idea a bit, and I'd be interested in hearing
any comments.
Regards,
Steve
---
Steve Hayman
Steve Hayman + Associates NeXTSTEP Consulting Toronto, Ontario
shayman@Objectario.com (416) 769-8995